package cn.fz.jpademo01.domain.entity;

import jakarta.persistence.Column;
import jakarta.persistence.Entity;
import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
@Entity(name = "sys_department")
public class Department extends BaseEntity{
    /**
     * 部门名称
     */
    @Column(unique = true)
    private String deptName;
}
